package com.akuma.redmine.entity;

import java.util.List;

/**
 * Created by akuma on 2016/10/12.
 *
 * @author akuma
 */
public class IssueQuery {
    private Long id;
    /**
     * 所属项目
     */
    private IdAndName project;
    /**
     * 所属类别：功能
     */
    private IdAndName tracker;
    /**
     * 级别
     */
    private IdAndName priority;
    /**
     * 状态
     */
    private IdAndName status;
    /**
     * 创建人
     */
    private IdAndName author;
    /**
     * 指派给
     */
    private IdAndName assigned_to;
    /**
     * 父任务
     */
    private IdAndName parent;
    /**
     * 标题
     */
    private String subject;
    /**
     * 描述
     */
    private String description;
    private String start_date;
    private Integer done_ratio;
    private Double estimated_hours;
    private Double spent_hours;
    private List<CustomField> custom_fields;
    private String created_on;
    private String updated_on;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public IdAndName getProject() {
        return project;
    }

    public void setProject(IdAndName project) {
        this.project = project;
    }

    public IdAndName getTracker() {
        return tracker;
    }

    public void setTracker(IdAndName tracker) {
        this.tracker = tracker;
    }

    public IdAndName getPriority() {
        return priority;
    }

    public void setPriority(IdAndName priority) {
        this.priority = priority;
    }

    public IdAndName getStatus() {
        return status;
    }

    public void setStatus(IdAndName status) {
        this.status = status;
    }

    public IdAndName getAuthor() {
        return author;
    }

    public void setAuthor(IdAndName author) {
        this.author = author;
    }

    public IdAndName getAssigned_to() {
        return assigned_to;
    }

    public void setAssigned_to(IdAndName assigned_to) {
        this.assigned_to = assigned_to;
    }

    public IdAndName getParent() {
        return parent;
    }

    public void setParent(IdAndName parent) {
        this.parent = parent;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public Integer getDone_ratio() {
        return done_ratio;
    }

    public void setDone_ratio(Integer done_ratio) {
        this.done_ratio = done_ratio;
    }

    public Double getEstimated_hours() {
        return estimated_hours;
    }

    public void setEstimated_hours(Double estimated_hours) {
        this.estimated_hours = estimated_hours;
    }

    public Double getSpent_hours() {
        return spent_hours;
    }

    public void setSpent_hours(Double spent_hours) {
        this.spent_hours = spent_hours;
    }

    public List<CustomField> getCustom_fields() {
        return custom_fields;
    }

    public void setCustom_fields(List<CustomField> custom_fields) {
        this.custom_fields = custom_fields;
    }

    public String getCreated_on() {
        return created_on;
    }

    public void setCreated_on(String created_on) {
        this.created_on = created_on;
    }

    public String getUpdated_on() {
        return updated_on;
    }

    public void setUpdated_on(String updated_on) {
        this.updated_on = updated_on;
    }
}
